package com.woaigsc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by chuiyuan on 3/17/16.
 */
@Controller
public class MixController {
    @RequestMapping(value = "/index" , method = RequestMethod.GET)
    public String index(){
        return "index";
    }

    @RequestMapping(value = "/staticPage", method = RequestMethod.GET)
    public String redirect(){
        return "redirect:/pages/final.html";
    }
}
